#ifndef __SORT_H__
    #define __SORT_H__

        //library vars
        extern int DEBUG;
        #define DESCENDING 1
        #define ASCENDING 2

        //includes
        #include <iostream>

        #include "list.h"
        //#include "../../cpp2/src/lists/node.h"
        #include "node.h"
        #include "../words/words.h"

int sortBubble(item* wRoot, int dir);
struct item* detectClones(item *wRoot);
int itemSwap(item *wA, item *wB);
int itemRemove(item *wItem);

#endif // __SORT_H__

